package zhihuilan.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import zhihuilan.dto.MyCircleDto;
import zhihuilan.dto.MyFactoryFavDto;
import zhihuilan.dto.WxMiniPageDto;
import zhihuilan.entity.MyFactoryFav;
import zhihuilan.entity.MyStaff;
import zhihuilan.params.query.MyFactoryFavQueryParam;

/**
 * 关注 服务层
 * 
 * @author chenk
 * @Date 2025年2月19日 12:39:03
 */
public interface MyFactoryFavService
{

    WxMiniPageDto<MyCircleDto> selectCirclePageList(MyFactoryFavQueryParam param, MyStaff currentStaff);

    /**
     * 查询关注表；
     *

     * @return 返回关注用户列表
     */
    WxMiniPageDto<MyFactoryFavDto> selectPageList(MyFactoryFavQueryParam queryParam);
    /**
     * 按条件查询关注数；
     * */
    Long selectCount(MyFactoryFavQueryParam queryParam);

    MyFactoryFav addEntity(MyFactoryFav entity);

    Boolean deleteById(Integer id);

    Boolean deleteByStaffId(Integer staffId,Integer favStaffId);

    Boolean deleteByShopId(Integer shopId);

}
